package time;
import static hacked.ReduceVerbosity.print;
import static hacked.ReduceVerbosity.readObject;
import static hacked.ReduceVerbosity.writeObject;

import java.io.Serializable;
public class Example {
	static class A implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		int a;
		int b;
		A c;
		A(int a,int b)
		{
			this.a=a;this.b=b;
		}
		A(A a)
		{
			this.c=a;
			a.c=this;
		}
	}
	public static void main(String[] args) {
		writeObject(new A(new A(1,2)), "abracadabra");
		A a = readObject(A.class, "abracadabra");
		print(a.c.c.c.a);
		//List<Integer> l = list(range(1,20));
//		for(int i: l)
//			println(i); 
	}
}
